package com.wisdytech.linkdcs.measuretool.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhanghailin
 * @since 2018-06-19
 */
@TableName("TT_EQ_MEASURE_RECORD_DETAIL")
public class MeasureRecordDetail extends Model<MeasureRecordDetail> {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private String pkId;
    @TableField("RECORD_ID")
    private String recordId;
    @TableField("STANDARD_VALUE")
    private Double standardValue;
    @TableField("ACTUAL_VALUE")
    private Double actualValue;
    @TableField("DEVIATION")
    private Double deviation;
    @TableField("CHECK_RESULT")
    private String checkResult;
    @TableField("DEL_FLAG")
    private String delFlag;
    @TableField("CREATE_USER")
    private String createUser;
    @TableField("CREATE_DATE")
    private Date createDate;
    @TableField("UPDATE_USER")
    private String updateUser;
    @TableField("UPDATE_DATE")
    private Date updateDate;
    @TableField("REMARK")
    private String remark;


    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public Double getStandardValue() {
        return standardValue;
    }

    public void setStandardValue(Double standardValue) {
        this.standardValue = standardValue;
    }

    public Double getActualValue() {
        return actualValue;
    }

    public void setActualValue(Double actualValue) {
        this.actualValue = actualValue;
    }

    public Double getDeviation() {
        return deviation;
    }

    public void setDeviation(Double deviation) {
        this.deviation = deviation;
    }

    public String getCheckResult() {
        return checkResult;
    }

    public void setCheckResult(String checkResult) {
        this.checkResult = checkResult;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "MeasureRecordDetail{" +
        ", pkId=" + pkId +
        ", recordId=" + recordId +
        ", standardValue=" + standardValue +
        ", actualValue=" + actualValue +
        ", deviation=" + deviation +
        ", checkResult=" + checkResult +
        ", delFlag=" + delFlag +
        ", createUser=" + createUser +
        ", createDate=" + createDate +
        ", updateUser=" + updateUser +
        ", updateDate=" + updateDate +
        ", remark=" + remark +
        "}";
    }
}
